Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRPanToColumn

You can use the QTVRPanToColumn function to get the column number in the object image array that corresponds to a pan angle.

short QTVRPanToColumn (QTVRInstance qtvr, float panAngle);
qtvr
An instance of a QuickTime VR movie.
panAngle
A pan angle.
function result
The column number in the object image array that corresponds to the specified pan angle.

DESCRIPTION

The QTVRPanToColumn function returns, as its function result, the zero-based column number in the current object image array that corresponds to the pan angle specified by the panAngle parameter.

SPECIAL CONSIDERATIONS

QTVRPanToColumn is valid only for object nodes.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |